package it.slothy.noveleditor.classes.instance;

import java.awt.Color;

import it.slothy.noveleditor.classes.elements.VNObject;
import it.slothy.noveleditor.enumaration.VNEnumObject;

public class Period extends VNObject {
	
	//Periodo della giornata
	//Ora di inizio e fine del periodo
	private Integer start, end;
	
	//Colore del periodo
	private Color color;

	public Period(VNEnumObject vne, String n, Integer s, Integer e, Color c) {
		super(VNEnumObject.OBJ_PERIOD, n);

		this.setStart(s);
		this.setEnd(e);
		this.setColor(c);
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getEnd() {
		return end;
	}

	public void setEnd(Integer end) {
		this.end = end;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

}
